﻿using CRMBiz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CRMWeb.Utilities.Context;
namespace CRMWeb.WebServices
{
    /// <summary>
    /// Summary description for ApplicationProcessUpdateStatus
    /// </summary>
    public class ApplicationProcessUpdateStatus : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            try
            {
                int app_id = int.Parse(context.Request.Params["app_id"]);
                ApplicationProcessHandler.UpdateStatusApplicationProcess(app_id);
            }
            catch (Exception ex)
            {
                ErrorHandler.saveErrorLog(ex,CMSContext.CurrentUser.MemberName);
            }
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}